package com.cjkj.equipment.domain;

import com.cjkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 设备信息对象 t_equipment_info
 * 
 * @author cjkj
 * @date 2024-08-26
 */
public class TEquipmentInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 设备编号 */
    private String equipmentNo;

    /** 设备类型 */
    private String equipmentType;

    /** 是否分配（0=未分配，1=已分配） */
    private String distributeFlag;

    /** 分配的医院ID */
    private String hospitalId;

    /** 删除标志（0=正常，2=删除） */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEquipmentNo(String equipmentNo) 
    {
        this.equipmentNo = equipmentNo;
    }

    public String getEquipmentNo() 
    {
        return equipmentNo;
    }
    public void setEquipmentType(String equipmentType) 
    {
        this.equipmentType = equipmentType;
    }

    public String getEquipmentType() 
    {
        return equipmentType;
    }
    public void setDistributeFlag(String distributeFlag) 
    {
        this.distributeFlag = distributeFlag;
    }

    public String getDistributeFlag() 
    {
        return distributeFlag;
    }
    public void setHospitalId(String hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public String getHospitalId() 
    {
        return hospitalId;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentNo", getEquipmentNo())
            .append("equipmentType", getEquipmentType())
            .append("distributeFlag", getDistributeFlag())
            .append("hospitalId", getHospitalId())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
